import { MaxLength, IsString, MinLength } from "class-validator";

export default class ChangePassword{
    

    @MaxLength(30)
    @IsString()
    oldpassword:string;

    @MaxLength(30)
    @MinLength(6)
    @IsString()
    password:string;
}